package model;

public class Product 
{
	private int id;
	private String name;
	private String supplier;
	private String category;
	private double price;
	public Product(int i,String n,String s,String c,double p)
	{
		setId(i);
		setName(n);
		setSupplier(s);
		setCategory(c);
		setPrice(p);
	}
	public Product(String n,String s,String c,double p)
	{
		setName(n);
		setSupplier(s);
		setCategory(c);
		setPrice(p);
	}
	public int getId() 
	{
		return id;
	}
	public void setId(int id) 
	{
		this.id = id;
	}
	public String getName() 
	{
		return name;
	}
	public void setName(String name) 
	{
		this.name = name;
	}
	public String getSupplier() 
	{
		return supplier;
	}
	public void setSupplier(String supplier) 
	{
		this.supplier = supplier;
	}
	public String getCategory() 
	{
		return category;
	}
	public void setCategory(String category)
	{
		this.category = category;
	}
	public double getPrice()
	{
		return price;
	}
	public void setPrice(double price)
	{
		this.price = price;
	}
}
